﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Rison.BusinessFacade.Entity.Biz
{

    /// <summary>
    /// 我有诉求：的主表字段（数据表名：Request）
    /// </summary>
    public sealed class MyAppeal
    {
        public string ID = string.Empty;//主键
        public string MailBoxID = null;//
        public string Type = string.Empty;//诉求分类
        public string SendToType = "部门";//固定值：部门
        public string SendToTag = string.Empty;//收件人的部门guid
        public string SendToName = string.Empty;//收件人的部门名称
        public string CategoryMailboxRelID = null;
        public string Title = string.Empty;
        public string Content = string.Empty;
        public DateTime SubmitTime = DateTime.Now;

        //随机生成一个密码，供诉求人根据密码来查询处理结果 命名规则yyyymmdd001
        public string Password = string.Empty;

        public string Status = "UNOPERATE", IsPublished = "0";

        public bool BackNvarchar = false;//是否愿意公开
        public string BackNvarchar2 = string.Empty;//被投诉人
        public string BackNvarchar3 = string.Empty;//被投诉人地址

    }

    /// <summary>
    /// 我有诉求，保存诉求的提交人的信息表（数据表名：EMail）
    /// </summary>
    public sealed class Appealer
    {
        public string ID = string.Empty;
        public string Sender = string.Empty;
        public string Email = string.Empty;
        public string Phone = string.Empty;
        public string Address = string.Empty;
        public string ZipCode = string.Empty;
        public string FromType = string.Empty;
    }

}
